package cn.itsource.pethome.org.mapper;

import cn.itsource.pethome.basic.mapper.BaseMapper;
import cn.itsource.pethome.org.domain.Employee;
import cn.itsource.pethome.org.domain.Shop;

/**
 * 商家入驻mapper
 */
public interface ShopMapper extends BaseMapper<Shop> {
    /**
     * 商店信息审核状态
     * @param id
     * @return
     */
    Shop shopState(Long id);

    /**
     * 根据登录用户查询商铺信息
     * @param employee
     * @return
     */
    Shop loadByEmployee(Long id);
}
